package com.sorokin.models;

public class Doctor extends Person implements IAction {
	
	
	public Doctor(String inputName, String inputSurname) {
		super(inputSurname, inputSurname);
	}
	
	public void DetermineDiagnosis(Patient currentPatient,String diagnosis) {
		currentPatient.setDiagnosis(diagnosis);
	}
	
	public void AssignProcedure(String procedureName,Patient currentPatient){
		Procedure currentProcedure=new Procedure(procedureName);
		currentPatient.GoToTheProcedure(currentProcedure);
	}
	
	
	public String getName() {
		return name;
	}

	public String getSurname() {
		return surname;
	}

	@Override
	public void AppointMedicine(String inputMeds, Patient currentPatient) {
		// TODO Auto-generated method stub
		Medicine med=new Medicine(inputMeds);
		currentPatient.BuyMedicine(med);
	}
	
	public void AssignOperation(String operation,Patient currentPatient){
		currentPatient.GoToTheOperation();
	}
}
